import { BASE_URL } from '@/utils/urls'
import Taro from '@tarojs/taro'

// 查询计划
export const getWxlogin = async (code, nickname) => {
    const res = await Taro.request({
        url: `${BASE_URL}/wxlogin`,
        method: 'GET',
        data: {
            code: code,
            name: nickname,
        },
    })
    return res.data
}
